using HengTong.Model.Db;
using HengTong.Model.Db.System;
using HengTong.Model.Extension;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;

namespace HengTong.Areas._Admin.Controllers;

public partial class SysSiteConfigController
{
    [AllowAnonymous]
    [HttpGet("GetSiteConfig")]
    public SysSiteConfig GetSiteConfigAsync()
    {
        return Wtm.GetSiteConfig();
    }
}